package org.jeecg.common.system.api.fallback;

import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.system.api.SyncAPI;

/**
 * @author : 国子软件
 * @date : 2022/9/5 19:24
 * @Description:
 */
@Slf4j
public class SyncAPIFallback implements SyncAPI {
    @Setter
    private Throwable cause;

    @Override
    public void batchSyncOrgDept(String username, String ids, String appIds) {
        log.error("feign接口: 同步接口调用失败", cause);
    }
}
